<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="stylesheet" href="./css/font.css">
  <link rel="stylesheet" href="./css/xadmin.css">
  <link rel="stylesheet" href="./lib/layui/css/layui.css">
  <link rel="stylesheet" href="./css/link.css">
  <!-- <script src="./lib/layui/layui.js" charset="utf-8"></script> -->
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
  <!-- 弹出层删除成功 -->
  <div class="popups layui-anim layui-anim-scale" style="display: none;" id="prosperity">
    <i class="layui-icon layui-icon-face-smile" style="font-size: 30px; color: #fff;"></i>
    <span></span>
  </div>
  <!--  -->
  <!-- 弹出层确认功能-->
  <div class="popups layui-anim layui-anim-scale" id="qr" style="display: none;">
    <i class="layui-icon layui-icon-face-surprised" style="font-size: 30px; "></i>
    <span>确定要删除我吗？</span>
    <div>
      <button type="button" class="layui-btn layui-btn-primary" id="quxiao">取消</button>
      <button type="button" class="layui-btn layui-btn-normal" id="quedin">确定</button>
    </div>
  </div>
  <!--  -->
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">演示</a>
      <a>
        <cite>导航元素</cite></a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid" style="padding: 5px;">
    <div class="layui-row layui-col-space15">
    </div>
  </div>

  <!--  -->
  <div class="layui-card">
    <div class="layui-card-header" style="display: flex; justify-content: space-between;">
      <span>友情链接管理</span>
      <button type="button" class="layui-btn layui-btn-primary layui-border-blue" style="margin-top:10px ;"
        id="add">+新增</button>
    </div>
    <div class="layui-card-body">
      <!-- 链接管理 -->
      <div class="layui-tab layui-tab-card">
        <ul class="layui-tab-title">
          <li class="layui-this" id="tabqh">文字链接</li>
          <li id="tab">图片链接</li>
        </ul>
        <!-- tab切换 -->
        <div class="layui-tab-content " style=" margin-right: 15px;">
          <!-- 文字链接 -->
          <div class="layui-tab-item layui-show">
            <table class="layui-table">
              <colgroup>
                <col width="150">
                <col width="200">
                <col>
              </colgroup>
              <thead>
                <tr>
                  <th>#</th>
                  <th>标题</th>
                  <th>链接描述</th>
                  <th>链接类型</th>
                  <th>链接地址</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
                <!-- <tr>
                  <td></td>
                  <td>贤心</td>
                  <td>2016-11-29</td>
                  <td>人生就像是一场修行</td>
                  <td>123</td>
                  <td style="text-align: center;">
                    <button type="button" class="layui-btn layui-btn-radius layui-btn-danger" id="shanc">修改</button>
                    <button type="button" class="layui-btn layui-btn-radius layui-btn-normal" id="xinz">删除</button>
                  </td>
                </tr> -->
              </tbody>
            </table>

            <!-- 分页列表 -->
            <div id="test1" style="text-align: center;"></div>
          </div>
        </div>
      </div>
    </div>
    <!-- 链接管理结束 -->
  </div>
  </div>

  <div class="layui-layer layui-layer-dialog show" id="layui-layer1" type="dialog" times="1" showtime="0"
    contype="string"
    style="z-index: 19891015; width: 890px; height: 400px; top: 32px; left: 340px;display: none;padding-bottom: 0px; ">
    <div class="layui-layer-title" style="cursor: move;">修改信息</div>
    <div id="" class="layui-layer-content" style="height: 330px;">
      <form class="layui-form" action="" id="form">
        <div class="layui-form-item">
          <!-- 下拉菜单 -->
          <div class="spinner">
            <span>选择链接类型</span>
            <div class="o gg">
              <span>文字链接</span>
              <i class="layui-icon layui-icon-down" style="font-size: 12px;"></i>
            </div>

            <div class="disbox" style="display: none;">
              <div class="one gg">文字链接</div>
              <div class="two gg" style="border-top: 0;">图片链接</div>
            </div>
          </div>

          <!--  -->
          <!-- 标题 -->
          <label class="layui-form-label">标题</label>
          <div class="layui-input-block">
            <input type="text" name="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
              class="layui-input">
          </div>
          <!--  -->
          <!-- 链接地址-->
          <div class="layui-form-item">
            <label class="layui-form-label">链接地址</label>
            <div class="layui-input-block">
              <input type="text" name="url" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
                class="layui-input">
            </div>
            <!--  -->
            <!-- 链接描述 -->
            <div class="layui-input-block" style="position: relative;" id="des">
              <span style="position: absolute; left: -61px;top: 16px;">链接描述</span>
              <textarea name="des" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
            <!--  -->
            <div id="test11" style="display: none">
              <input type="file" id="file">
              <!-- 上传图片 -->
              <div class="img" style="display: block;">
              </div>
              <!--  -->
              <!-- 装图片盒子 -->
              <div id="img" style="width:737px;height: 107px; display: block;">
              </div>
              <!--  -->
            </div>
      </form>
    </div>
    <div class="layui-layer-btn layui-layer-btn-" style="margin-top: 10px;">
      <a class="layui-layer-btn1">取消</a>
      <a class="layui-layer-btn0">确定</a>
    </div>
  </div>

  <script src="./lib/layui/layui.all.js" charset="utf-8"></script>
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <script src="./lib/layui/layui.all.js"></script>
  <script src="./js/jquery.min.js"></script>
  <script src="./js/axios.min.js"></script>
  <script src="./js/ajaxBase.js"></script>
  <script src="./js/link.js"></script>
</body>

</html>
  
